Fix pointer obscuring in text view
authorMatthias Clasen <mclasen@redhat.com>
Tue, 2 Jan 2018 20:46:19 +0000 (15:46 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 3 Jan 2018 02:52:43 +0000 (21:52 -0500)
The code for hiding the mouse cursor until the next motion
event was not working, probably due to a typo here.

gtk/gtkwindow.c

index 0553e6b43ec51ed3e7ef91a5f489d42d6f95722e..932f52f0c8ac79738674c8d9665c54064c051407 100644 (file)
@@ -11441,7 +11441,7 @@ gtk_window_maybe_update_cursor (GtkWindow *window,
           if (grab_widget && grab_widget != widget &&
               !gtk_widget_is_ancestor (widget, grab_widget))
             continue;
-          if (grab_widget != widget &&
+          if (target != widget &&
               !gtk_widget_is_ancestor (target, widget))
             continue;
         }